import request from './request';

// 获取游客接待统计
export function getTouristStatistics() {
  return request({
    url: '/tourist-statistics/obtain_headcount_statistics',
    method: 'get',
  });
}

// 获取热门景区数据
export function getHotScenicSpots(params) {
  return request({
    url: '/tourist-attractions/page',
    method: 'get',
    params
  });
}

// 获取景区质量情况
export function getTouristAttractionsType() {
  return request({
    url: '/tourist-attractions/tourist_attractions_type',
    method: 'get',
  });
}
